# coding=utf-8
"""
    路径处理
"""

import os

# @Time    :  2024-10-29 18:32:45
# @Author  :  jiangtong
# @Email   :  gingerqgyy@outlook.com
# @Project :  flask_ocr
# @File    :  do_path


PROJECT_PATH = os.path.dirname(os.path.dirname(__file__))

LOG_PATH = os.sep.join([PROJECT_PATH, 'logs'])

if __name__ == '__main__':
    def show(_path):
        print(os.path.exists(_path), ':', _path)


    show(PROJECT_PATH)
    show(LOG_PATH)
